.class Lcom/philzhu/www/ddz/ZZDouDiZhuActivity$5;
.super Lcom/openfeint/api/resource/Score$SubmitToCB;
.source "ZZDouDiZhuActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/philzhu/www/ddz/ZZDouDiZhuActivity;->submitHightScore(JLjava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/philzhu/www/ddz/ZZDouDiZhuActivity;


# direct methods
.method constructor <init>(Lcom/philzhu/www/ddz/ZZDouDiZhuActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/philzhu/www/ddz/ZZDouDiZhuActivity$5;->this$0:Lcom/philzhu/www/ddz/ZZDouDiZhuActivity;

    .line 116
    invoke-direct {p0}, Lcom/openfeint/api/resource/Score$SubmitToCB;-><init>()V

    return-void
.end method


# virtual methods
.method public onFailure(Ljava/lang/String;)V
    .locals 3
    .parameter "exceptionMessage"

    .prologue
    .line 125
    iget-object v0, p0, Lcom/philzhu/www/ddz/ZZDouDiZhuActivity$5;->this$0:Lcom/philzhu/www/ddz/ZZDouDiZhuActivity;

    .line 126
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "Error ("

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ") posting score."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 127
    const/4 v2, 0x0

    .line 125
    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    .line 127
    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 128
    return-void
.end method

.method public onSuccess(Z)V
    .locals 3
    .parameter "newHighScore"

    .prologue
    .line 119
    iget-object v0, p0, Lcom/philzhu/www/ddz/ZZDouDiZhuActivity$5;->this$0:Lcom/philzhu/www/ddz/ZZDouDiZhuActivity;

    .line 120
    const-string v1, "Success on posting score."

    .line 121
    const/4 v2, 0x0

    .line 119
    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    .line 121
    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 122
    return-void
.end method
